//
// Created by xili on 2024/8/1 8:31.
// Go big or go home.
//
#include <iostream>
#include <sstream>

using namespace std;

class Solution {
public:
    int myAtoi(string s) {
        stringstream liu(s);
        int n=0;
        liu>>n;
        return n;
    }
};